import ajax from "../utils/request"
import "../mock/login.js"


export function loginFn(data) {
    return ajax({
        url: "/login",
        method:'post',
        data
    })
}